<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            padding: 0;
            margin: 0;
            box-sizing: border-box;
        }
        body{
            background: url(./img/bg.jpeg);
        }
        .box {
            width: 450px;
            height: 400px;
            border: 1px solid gray;
            margin: 100px auto;
            /* border-radius: 10px; */
            border-radius: 10px;
            background-color: white;
        }
        input{
            width: 350px;
            height: 35px;
            margin-left: 50%;
            transform: translateX(-50%);
            border-radius: 10px;
            border: 1px solid gray;
            border-radius: 10px;
            padding: 0 10px;
            
        }
        button{
            width: 150px;
            height: 35px;
            margin-left: 50%;
            transform: translateX(-50%);
            color: white;
            background-color: yellowgreen;
            border: 0;
            margin-top: 20px;
            border-radius: 10px;
            transition: all 0.5s;
        }
        button:hover{
            
            background-color: rgb(141, 192, 39);
        }
        .kuang{
            margin-top: 20px;
        }
        p{
            text-align: center;
            font-weight: 800;
            font-size: 18px;
            height: 60px;
            line-height: 60px;
            background-color: aqua;
            border-radius: 10px 10px 0 0;
            color: white;
        }
        a{
            margin-left: 50px;
            margin-top: 10px;
            display: block;
            font-size: 13px;
            color: rgb(54, 54, 251);
            text-decoration: none;
        }

    </style>
</head>

<body>
    <div class="box">
        <p>注册</p>
        <div class="kuang">
            <input type="text" placeholder="手机号">
        </div>
        <div class="kuang" >
            <input type="password" placeholder="密码">
        </div>
        <div class="kuang" >
            <input type="password" placeholder="确认密码">
        </div>
        <div class="kuang" >
            <input type="text" placeholder="邮箱">
        </div>
        <a href="登录.html">已有账号，去登陆</a>
        <button>注册</button>
    </div>

</body>

</html>